package com.lanxin.judge.service;

import com.lanxin.judge.Vo.NodeVo;
import com.lanxin.judge.entity.LcNode;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-08-04
 */
public interface ILcNodeService extends IService<LcNode> {


    //获取流程的审批节点
    public List<NodeVo> listNode(Integer flowId);

    //删除节点
    public void deleteNode(Integer oid,Integer flowId);

    //添加节点
    public void addNode(int oid,LcNode node);

    //修改节点的上级节点
    public int updatePreNode(Integer oid,String preNodeId);

    //修改节点
    public void updateNode(LcNode node);

    //根据流程id和节点id获取
}
